﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeFile="UserAllot.aspx.cs"
    Inherits="Platform_UserAllot" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../Styles/style.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script src="../Scripts/GiveTip.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    已派员工：<asp:Label ID="labUser" runat="server"></asp:Label>
    <br />
    <br />
    <NC:FGridView1 ID="FGridView1" runat="server" AutoCreateNumber="true" AllowExportToExcel="false"
        AllowPaging="false" ShowFooter="false" DataKeyNames="UserID" Width="98%">
        <Columns>
            <asp:BoundField DataField="TrueName" HeaderText="姓名" />
            <asp:BoundField DataField="Mobile" HeaderText="手机" />
            <asp:BoundField DataField="Wait" HeaderText="已派单" />
            <asp:BoundField DataField="Work" HeaderText="工作中" />
            <asp:TemplateField HeaderText="操作" ItemStyle-HorizontalAlign="Center">
                <ItemTemplate>
                    <asp:Button runat="server" class="Gridbtn" Text="派单" ID="btnAllot" OnClientClick="GiveTip(event,'您确定派单吗？');"
                        OnClick="btnAllot_Click" CommandArgument='<%# Eval("UserID") %>' />
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" Width="50px" />
            </asp:TemplateField>
        </Columns>
    </NC:FGridView1>
    </form>
</body>
</html>
